package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitUserOrderSendPicRouter(Router *gin.RouterGroup) {
	UserOrderSendPicRouter := Router.Group("userOrderSendPic").Use(middleware.OperationRecord())
	{
		UserOrderSendPicRouter.POST("createUserOrderSendPic", v1.CreateUserOrderSendPic)   // 新建UserOrderSendPic
		UserOrderSendPicRouter.DELETE("deleteUserOrderSendPic", v1.DeleteUserOrderSendPic) // 删除UserOrderSendPic
		UserOrderSendPicRouter.DELETE("deleteUserOrderSendPicByIds", v1.DeleteUserOrderSendPicByIds) // 批量删除UserOrderSendPic
		UserOrderSendPicRouter.PUT("updateUserOrderSendPic", v1.UpdateUserOrderSendPic)    // 更新UserOrderSendPic
		UserOrderSendPicRouter.GET("findUserOrderSendPic", v1.FindUserOrderSendPic)        // 根据ID获取UserOrderSendPic
		UserOrderSendPicRouter.GET("getUserOrderSendPicList", v1.GetUserOrderSendPicList)  // 获取UserOrderSendPic列表
	}
}
